﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YmtAuth.Domain.Repository.MySql;
using YmtAuth.Domain.Shard;

namespace YmtAuth.Domain.Repository
{
    public interface IAuthConfigurationRepository : IMySQLRepository<AuthConfiguration>
    {
        IEnumerable<AuthConfiguration> TryFind(string appid, string code);
        IEnumerable<AuthConfiguration> TryFind(string appid);
        AuthConfiguration TryFind(string appid, string code,string key);
    }
}
